import {Entity, PrimaryGeneratedColumn, Column, BaseEntity} from 'typeorm';

@Entity()
export class PaymentFlow extends BaseEntity {
    @PrimaryGeneratedColumn()
    id: number;

    @Column()
    orderSn: string;

    @Column()
    outOrderSn: string;

    @Column()
    channel: number;

    @Column()
    tradeType: number;

    @Column()
    subject: string;

    @Column()
    orderRequestId: number;

    @Column()
    totalAmount: number;

    @Column()
    tradeNo: string;

    @Column()
    gmtPayment: string;

    @Column()
    payAmount: string;

    @Column()
    status: number;
}
